cmake_minimum_required(VERSION 3.5)
project(GW_Partitioner)

set(CMAKE_CXX_STANDARD 11)

find_package(OpenMP REQUIRED)

set(INC_DIR /usr/local/include src/)
set(LINK_DIR /usr/local/lib)

include_directories(${INC_DIR})

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-strict-aliasing -lz")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g -ggdb")

add_executable(rawrandomwalks apps/rawrandomwalks.cpp)
add_executable(vertpart apps/vertpart.cpp)
add_executable(mpgp apps/mpgp.cpp)

target_link_libraries(rawrandomwalks OpenMP::OpenMP_CXX)
target_link_libraries(vertpart OpenMP::OpenMP_CXX)
target_link_libraries(mpgp OpenMP::OpenMP_CXX)
